SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '461056c6ba62a741e295f1ba471e4698df833895cfe1769c349b53e4dbb8811b' 
  AND token = 'ZGhsQlgqRNEGUtn+Na7VsDWyVV/hkyeRNHaZ5eNO1M4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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