SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '237db2b0dc0297c34d9d23cbcf5a8591e99dcea31fa6feb330908dd3d9314489' 
  AND token = 'XxfZD9ABlg1+NbfeBQUndxQ5JNixzicwEkjXMATET0w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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