SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a31330156b3f8439bc3d524b17f9cc95acbbec679f9ce7e458016e0792695bb' 
  AND token = 'QgNDTUwbCVoxZhfg7qUKAb8wFzAbnIfIR/wfYZhY/ac=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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