SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ef0d150735010386b187e0cc58cbe35f223fc89468f51d206a68126fd9ec6cb' 
  AND token = 'yODgZZnzZw50IhpKjySjINdvIA70Mylp+9uGCdTcT3Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00066

JSON explain

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