SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab766de5f2dc98a3ea3820bff1f1b886edca41c45efdafc374876890f330fdcb' 
  AND token = 'fcH+urUj1c4nSZKHilYmFsSeDHpNW3PMv9NJad5MU5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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