SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b087e4234650f63517ed8c1f8c02523a7f8f211e28bd8c6de051a355568b1059' 
  AND token = '9EihhgalQcJRcB7KoZ5UzbMvktrZ9JTvvu/bkU0BZl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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