SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40daa9b587b79c854caada4908af79d75b108754f9877a7d009cba86a406a6b1' 
  AND token = 'UvyUtmDul1ykZJhhWeJ5YbaDplsZPqwP2+mH/FsjH3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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