SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6051989871a26d1305534a46805eb2fb99c344408e9a31aa95382f78e2d308c8' 
  AND token = 'HoHnk5BJRRCdkn6lCEGk3cl/KN0tIbSU2OI4Zbko3Ws=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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