SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a8e264d414fd566867c6b5158abd48f99c32d7489d15736168448ebb698f95a' 
  AND token = '7LEdl/4vvqEwHpBrkbwQ/Pw6LBI07nf0P/cBUsCdxz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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