SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1863f48d308bac223f7ee981a9dcca939e450f61d54e7a8708492b543696fe1' 
  AND token = 's+gQtDM2sCKGrWKXMelds5kH5AZyzXkv0jAlQUnggZo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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