SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '571f4ce53cf15512bacb3271ac0b7ce0826a4b5367eeec3a08f0a7f7d42d5835' 
  AND token = 'XKc8b00TnAqMHIH4pjfgv5W8DYE6uefqgZglCU5ci5M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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