SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1b9f4eff4f058aee895b55186aeb040c10daea9409fd9151bb6f99e04424870f' 
  AND token = 'YN0McFoL20Poz4X56Au+kviPhm0z34UQeyMy6Qy8oCk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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