SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '276e8bdef237884feca6c5db5097be07815980d5fb5ed66c2659a29d2f8f5503' 
  AND token = 'snA7NG08SlwhPDpTWETp0aiDuUxcyi2oO0L64aVCv3Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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