SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a1f95b62ce8bcd7116c5ed977589b8b475bc2e95c297f3080d701b75da0995e' 
  AND token = 'ialZrGH+coJlzkvKWUZvxSwJhf0paaqLQ+VZcbIo0pM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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