SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38d92912a707ae0d6c1188e89171efcbc25302a1f1105cc64cefb49e47903b56' 
  AND token = 'yJtP0977UiyRqiyHsb7ioaD/IUAeSl5OpT1oDB800o4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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