SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7964e7ec9799c9c86cadd4e467246c272067c49a5a3b71ac306ccd4efdb09447' 
  AND token = 'D2HRMsJKLqePt9JdU7fJ2V46ntKFPr1XR2ZnKpbMef8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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