SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fa912bf2411d71f5c9bb1afa003d7f39aa17aa89a3a1674f66bb39dd116d7e5' 
  AND token = 'yvwlFgDCT1SwzrjLySay9xC8Mdewy3ZTA7lecARjSrA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}