SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd54565d757ea2a5479a1d49be832226a7307d3bc4598197620c9856db4d7c3d8' 
  AND token = 'csc9MflQCWavL56J4Jks5qAQ6/CJi8/n51UUTPBEpbI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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