SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e2b0bd3c77e32825a63d54320fd23d2a759fd7beafa7918d9329dd4c949f433e' 
  AND token = 'j/qjVfc+9/Y9nGN7SaOXoeDnhsFz2UP1KhAJ9X8g3+M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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