SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8797ff2b85be3fc40789cb8bc72d3a4cd5259e7dc1d7e4a523a00f36f30cc06d' 
  AND token = 'Ip08SR5EiSO4S3zjkgoRXJNtenEny1PUdhzH8YwTsZ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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