SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04cb364520d9406ab5d37edcbe7598c8a927b43646c0b1b0103f54e670ee28ba' 
  AND token = 'jooVbc3RRkPc9f37bF1m4y7v58j6zBAWQG1Z3VA/i/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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