SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40da799e9e826bc3eff3414bb546d8cfc20510a0028e0e3e9df62b9327ef8714' 
  AND token = 'yScl+4P+meMjXhT4eK3/883Lh1cSJbHY+rrSsd6nXu0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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