SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '045c4c530cc7d77f3312e9f1d1568c487793655a4132a973b21eef418ececc5a' 
  AND token = 'Ic4w/xByVHHOoa5atr5KDZ34qRZEkCGsotPj5IbbpBE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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