SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb1081418beef875fab4215af99d12ed21865d7e514aa2aef1053837085ef305' 
  AND token = 'nixJPXDhYu2au737Vxi/m+/aNnLr0pYsgZ4uLzgtbw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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