SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '05eb972d4175b6d2e57a4bf3237113a9093f825ff270e5d28b2c6739801b5d5f' 
  AND token = 'a5ZpTsk1DPqGKiPNQ/oYXiKJJ7kzR5aKybji12ZLs5o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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